<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" />
<title>코오롱</title>
<link rel="stylesheet" type="text/css" href="${requestScope.contextPath}/css/import.css" />
<script type="text/javascript" src="${requestScope.contextPath}/js/jquery-ui-1.8.14.custom/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="${requestScope.contextPath}/js/jquery-ui-1.8.14.custom/js/jquery-ui-1.8.14.custom.min.js"></script>
<script type="text/javascript" src="${requestScope.contextPath}/js/common.js"></script>
<c:set var="userAgent" value="${header['User-Agent']}" />
<fmt:setBundle basename="com.kolon.config.properties.config" var="config" />
<c:if test="${fn:indexOf(userAgent, 'Android') != -1}"><c:set var="platForm" value="Android" /></c:if>
<c:if test="${fn:indexOf(userAgent, 'iPhone') != -1}"><c:set var="platForm" value="iPhone" /></c:if>
<script type="text/javascript">
	function appBack() {
		document.location.href='#';
	}
</script>
</head>
<body>
	<div id="wrap">
		<div class="header">
			<h1>O.I. 제안</h1>
		</div><!-- // header -->
		<div class="content">
			<p class="oi_title">총건수<span>${map.totCnt}건</span></p>
			<div class="table7">
				<table summary="" cellspacing="0">
					<caption>oi제안 건수 조회</caption>
					<colgroup>
						<col style="width:50%;" />
						<col style="width:30%;" />
						<col style="width:20%;" />
					</colgroup>
					<tbody>
						<tr>
							<th scope="row">나의제안</th>
							<td class="t_r">${map.myCnt}건</td>
							<td>
							<c:choose>
							<c:when test="${sessionScope.SESSION_USER_INFO.oiAuth eq 'Y'}"><a href="${requestScope.contextPath}/business/mOI_/mOIJudgeList.do"><img src="${requestScope.contextPath}/images/btn/btn_quick.gif" alt="바로가기" /></a></c:when>
							<c:otherwise><a href="${requestScope.contextPath}/business/mOI_/mOIMySuggestionList.do"><img src="${requestScope.contextPath}/images/btn/btn_quick.gif" alt="바로가기" /></a></c:otherwise>
							</c:choose>
							</td>
						</tr>
						<tr>
							<th scope="row">아이디어</th>
							<td class="t_r">${map.nCnt1}건</td>
							<td></td>
						</tr>
						<tr>
							<th scope="row">실시제안</th>
							<td class="t_r">${map.nCnt2}건</td>
							<td></td>
						</tr>
						<tr>
							<th scope="row">미실시</th>
							<td class="t_r">${map.neCnt}건</td>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<th scope="row">심사대기</th>
							<td class="t_r">${map.wjCnt}건</td>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<th scope="row">&nbsp;</th>
							<td class="t_r">&nbsp;</td>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<th scope="row">시상금(Point)</th>
							<td class="t_r">${map.sP}</td>
							<td>&nbsp;</td>
						</tr>
						<tr>
							<th scope="row">누계</th>
							<td class="t_r">${map.tP} P</td>
							<td>&nbsp;</td>
						</tr>
					</tbody>
				</table>
			</div>
			<p class="banner1"><a href="${requestScope.contextPath}/business/mOI_/mOIIdeaSuggestionWriteForm.do"><img src="${requestScope.contextPath}/images/oi/banner1.gif" alt="아이디어제안하기" /></a></p>
			<p class="banner1"><a href="${requestScope.contextPath}/business/mOI_/mOIExecSuggestionWriteForm.do"><img src="${requestScope.contextPath}/images/oi/banner2.gif" alt="실시제안등록하기" /></a></p>
		</div><!-- // content -->
	</div><!-- // wrap -->
	<script>
		window.HybridApp.clearAllHistory(); 
	</script>
</body>
</html>